package org.zfes.snowier.zbss.xzy.biz.complaint.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.apache.ibatis.annotations.Param;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.core.data.SelectVo;
import org.zfes.snowier.zbss.xzy.biz.complaint.model.ComplaintReplay;
public interface IComplaintReplayService{

	 Optional<ComplaintReplay> loadComplaintReplayById(Long id);
	
	 void createComplaintReplay(ComplaintReplay complaintReplay);
	
	 void updateComplaintReplay(ComplaintReplay complaintReplay);

	 void deleteComplaintReplay(Long id);
	
	 DataSet loadComplaintReplayDataSet(Map<String, Object> params);
	 

 	void setComplaintReplayStatus(Long id, Byte status);
 	
    List<SelectVo> loadComplaintReplaySelectVo(String keywords);
    
	void replayComplaint(Long userId,String account, Long complaintId, String content);
	
	List<ComplaintReplay> loadByComplaintId(Long complaintId);
}